package com.ciaojian.core.model;

import com.ciaojian.core.model.vo.CheckUser;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;


/**
 * @author Atlakyn
 */
@Data
@Accessors(chain = true)
public class DCheckUserTime {

    @NotNull(message = "发型师ID不能为空")
    @ApiModelProperty("发型师ID")
    private Integer id;
    private Integer workerStatus;
    private Integer timeNum;

    private List<CheckUser> dCheckUserList;

    @ApiModelProperty("上班时间")
    private String startWorkTime;

    @ApiModelProperty("下班时间")
    private String endWorkTime;

    @NotBlank(message = "手机号不能为空")
    @ApiModelProperty(value = "手机号", required = true)
    private String phone;

    @NotBlank(message = "姓名不能为空")
    @ApiModelProperty(value = "姓名", required = true)
    private String name;


}
